package homework0306;

import java.io.File;

public class MkDirDemo1 {
    public static void main(String[] args) {
        File file=new File("./demo1");
        if (file.exists()){
            System.out.println("该目录已存在");
        }else {
            file.mkdirs();
        }
        System.out.println("创建完成");
    }
}
